package com.woniuxy.pojo;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Cars implements Serializable {
    private Integer carId;

    private String carLicense;

    private String carBrand;

    private String carModel;

    private String carColor;

    private String carSeat;

    private String carDept;

    private String carStatus;

    private String carIsuse;

    private Double carLoad;

    private Double carOilwear;

    private Double carInitmileage;

    private Double carUpkeepmileage;

    private Double carUpkeeptime;

    private String carEnginenum;

    private String carFramenum;

    private String carSupplier;

    private Double carPrice;

    @JSONField(format = "yyyy-MM-dd")
    private Date carBuytime;

    private String carRemark;

    private static final long serialVersionUID = 1L;

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public String getCarLicense() {
        return carLicense;
    }

    public void setCarLicense(String carLicense) {
        this.carLicense = carLicense == null ? null : carLicense.trim();
    }

    public String getCarBrand() {
        return carBrand;
    }

    public void setCarBrand(String carBrand) {
        this.carBrand = carBrand == null ? null : carBrand.trim();
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel == null ? null : carModel.trim();
    }

    public String getCarColor() {
        return carColor;
    }

    public void setCarColor(String carColor) {
        this.carColor = carColor == null ? null : carColor.trim();
    }

    public String getCarSeat() {
        return carSeat;
    }

    public void setCarSeat(String carSeat) {
        this.carSeat = carSeat == null ? null : carSeat.trim();
    }

    public String getCarDept() {
        return carDept;
    }

    public void setCarDept(String carDept) {
        this.carDept = carDept == null ? null : carDept.trim();
    }

    public String getCarStatus() {
        return carStatus;
    }

    public void setCarStatus(String carStatus) {
        this.carStatus = carStatus == null ? null : carStatus.trim();
    }

    public String getCarIsuse() {
        return carIsuse;
    }

    public void setCarIsuse(String carIsuse) {
        this.carIsuse = carIsuse == null ? null : carIsuse.trim();
    }

    public Double getCarLoad() {
        return carLoad;
    }

    public void setCarLoad(Double carLoad) {
        this.carLoad = carLoad;
    }

    public Double getCarOilwear() {
        return carOilwear;
    }

    public void setCarOilwear(Double carOilwear) {
        this.carOilwear = carOilwear;
    }

    public Double getCarInitmileage() {
        return carInitmileage;
    }

    public void setCarInitmileage(Double carInitmileage) {
        this.carInitmileage = carInitmileage;
    }

    public Double getCarUpkeepmileage() {
        return carUpkeepmileage;
    }

    public void setCarUpkeepmileage(Double carUpkeepmileage) {
        this.carUpkeepmileage = carUpkeepmileage;
    }

    public Double getCarUpkeeptime() {
        return carUpkeeptime;
    }

    public void setCarUpkeeptime(Double carUpkeeptime) {
        this.carUpkeeptime = carUpkeeptime;
    }

    public String getCarEnginenum() {
        return carEnginenum;
    }

    public void setCarEnginenum(String carEnginenum) {
        this.carEnginenum = carEnginenum == null ? null : carEnginenum.trim();
    }

    public String getCarFramenum() {
        return carFramenum;
    }

    public void setCarFramenum(String carFramenum) {
        this.carFramenum = carFramenum == null ? null : carFramenum.trim();
    }

    public String getCarSupplier() {
        return carSupplier;
    }

    public void setCarSupplier(String carSupplier) {
        this.carSupplier = carSupplier == null ? null : carSupplier.trim();
    }

    public Double getCarPrice() {
        return carPrice;
    }

    public void setCarPrice(Double carPrice) {
        this.carPrice = carPrice;
    }

    public Date getCarBuytime() {
        return carBuytime;
    }

    public void setCarBuytime(Date carBuytime) {
        this.carBuytime = carBuytime;
    }

    public String getCarRemark() {
        return carRemark;
    }

    public void setCarRemark(String carRemark) {
        this.carRemark = carRemark == null ? null : carRemark.trim();
    }

	@Override
	public String toString() {
		return "Cars [carId=" + carId + ", carLicense=" + carLicense + ", carBrand=" + carBrand + ", carModel="
				+ carModel + ", carColor=" + carColor + ", carSeat=" + carSeat + ", carDept=" + carDept + ", carStatus="
				+ carStatus + ", carIsuse=" + carIsuse + ", carLoad=" + carLoad + ", carOilwear=" + carOilwear
				+ ", carInitmileage=" + carInitmileage + ", carUpkeepmileage=" + carUpkeepmileage + ", carUpkeeptime="
				+ carUpkeeptime + ", carEnginenum=" + carEnginenum + ", carFramenum=" + carFramenum + ", carSupplier="
				+ carSupplier + ", carPrice=" + carPrice + ", carBuytime=" + carBuytime + ", carRemark=" + carRemark
				+ "]";
	}
    
}